<template>
  <div><h1>我是One</h1>
    <p><input type="text" v-model="title"></p>
  </div>
</template>

<script>
export default {
  name: "DynOne",
  data() {
    return {
      title: "132132",
    };
  },
  created() {
    console.log("one创建");
  },
  destroyed() {
    console.log("one销毁");
  },
   activated(){
    console.log("one缓存激活时");
  },
  deactivated(){
    console.log(" one缓存不激活时")
  }
};
</script>

<style>
</style>